package samples.d2.lines 
{
	import adobe.utils.CustomActions;
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.utils.setInterval;
	import samples.BaseSample;
	import shapes.shapes2D.Dot;
	import shapes.shapes2D.Line;
	
	/**
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class Lines41 extends BaseSample
	{
		private var bd:BitmapData;
		private var bmp:Bitmap;
		private var dots:Vector.<Dot>;
		
		public function Lines41() 
		{
			
			
			
			
			dots = new Vector.<Dot>();
			var i:int = 100;
			while ( i-- )
			{
				dots.push( new Dot( 100 + ( sw - 200 ) * Math.random(), 100 + ( sh - 200 ) * Math.random() ) );
			}
			
			setInterval( update, 1000 );
			update();
			
		}
		
		private function update():void
		{
			graphics.clear();
			graphics.beginFill( color, .01 );
			
			
		}
		
	}

}